package com.xiaohao.student_course.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;

/**
 * Created with IntelliJ IDEA.
 *
 * @author 小浩
 * @date 2018-12-15 16:52
 * @package com.xiaohao.student_course.bean
 * @description 班级
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table
@Entity
public class Classes {
    @Id
    private Integer id;
    private String majorName;
    private String classname;
    private int studentNumber;
}
